using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content.Pipeline;
using Microsoft.Xna.Framework.Content.Pipeline.Graphics;

using TImport = System.Xml.XmlDocument;
using System.Xml;

namespace WindowsGame1Content.Tilemap
{
    [ContentImporter(".tmap", DisplayName = "Tile Map Importer", DefaultProcessor =
"TilemapProcessor")]
    public class TilemapImporter : ContentImporter<TImport>
    {
        public override TImport Import(string filename, ContentImporterContext
        context)
        {
            XmlDocument xmlDoc = new XmlDocument();
            xmlDoc.Load(filename);
            return xmlDoc;
        }
    }
}
